import request from '@/utils/request';
/** 获取所有的频道列表 */
export const getAllChannelApi = () => {
  return request({
    url: '/v1_0/channels',
  });
};

// 1.
/** 获取用户的频道列表 */
export const getUserChannelsAPI = () => {
  return request({
    url: '/v1_0/user/channels',
  });
};
